package server.business.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import server.business.pojo.BloodTestVo;
import server.main.config.cache.MybatisPlusRedisCache;
import server.business.pojo.BloodTest;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.ArrayList;
import java.util.List;

/**
* @author Galaxy
* @description 针对表【blood_test】的数据库操作Mapper
* @createDate 2022-11-08 12:46:24
* @Entity server.business.pojo.BloodTest
*/
@Mapper
//@CacheNamespace(implementation = MybatisPlusRedisCache.class)
public interface BloodTestMapper extends BaseMapper<BloodTest> {


    Page<BloodTestVo> selectBloodTestByPage(Page<BloodTestVo> page, @Param(Constants.WRAPPER) QueryWrapper<BloodTestVo> queryWrapper);

    List<BloodTestVo> selectBloodTestExcel(@Param(Constants.WRAPPER) QueryWrapper<BloodTestVo> queryWrapper);


    //**************************************myq*********************************start
    List<BloodTest> showBlood(String inspectionSheet);
    ArrayList<Object> showBloodTest(String transfusionNumber);
    //**************************************myq*********************************end





}




